package uni.UNIBEE7B8D.Enty;

import java.util.List;

public class HomeMenu {

    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : {"records":[{"aspect_dictText":"康复群体","deltype":0,"createTime":"2020-12-10 00:00:00","aspect":2,"name":"腰椎康复","rank":19,"type_dictText":"患者端","id":6,"type":1},{"aspect_dictText":"康复群体","deltype":null,"createTime":"2020-12-16 23:33:49","aspect":2,"name":"脑血栓","rank":20,"type_dictText":"患者端","id":12,"type":1},{"aspect_dictText":"康复群体","deltype":null,"createTime":"2020-12-25 11:37:18","aspect":2,"name":"其他","rank":50,"type_dictText":"患者端","id":14,"type":1}],"total":3,"size":10,"current":1,"orders":[],"optimizeCountSql":true,"hitCount":false,"searchCount":true,"pages":1}
     * timestamp : 1621583139026
     */

    private boolean success;
    private String message;
    private int code;
    private ResultBean result;
    private long timestamp;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public static class ResultBean {
        /**
         * records : [{"aspect_dictText":"康复群体","deltype":0,"createTime":"2020-12-10 00:00:00","aspect":2,"name":"腰椎康复","rank":19,"type_dictText":"患者端","id":6,"type":1},{"aspect_dictText":"康复群体","deltype":null,"createTime":"2020-12-16 23:33:49","aspect":2,"name":"脑血栓","rank":20,"type_dictText":"患者端","id":12,"type":1},{"aspect_dictText":"康复群体","deltype":null,"createTime":"2020-12-25 11:37:18","aspect":2,"name":"其他","rank":50,"type_dictText":"患者端","id":14,"type":1}]
         * total : 3
         * size : 10
         * current : 1
         * orders : []
         * optimizeCountSql : true
         * hitCount : false
         * searchCount : true
         * pages : 1
         */

        private int total;
        private int size;
        private int current;
        private boolean optimizeCountSql;
        private boolean hitCount;
        private boolean searchCount;
        private int pages;
        private List<RecordsBean> records;
        private List<?> orders;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getCurrent() {
            return current;
        }

        public void setCurrent(int current) {
            this.current = current;
        }

        public boolean isOptimizeCountSql() {
            return optimizeCountSql;
        }

        public void setOptimizeCountSql(boolean optimizeCountSql) {
            this.optimizeCountSql = optimizeCountSql;
        }

        public boolean isHitCount() {
            return hitCount;
        }

        public void setHitCount(boolean hitCount) {
            this.hitCount = hitCount;
        }

        public boolean isSearchCount() {
            return searchCount;
        }

        public void setSearchCount(boolean searchCount) {
            this.searchCount = searchCount;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public List<RecordsBean> getRecords() {
            return records;
        }

        public void setRecords(List<RecordsBean> records) {
            this.records = records;
        }

        public List<?> getOrders() {
            return orders;
        }

        public void setOrders(List<?> orders) {
            this.orders = orders;
        }

        public static class RecordsBean {
            /**
             * aspect_dictText : 康复群体
             * deltype : 0
             * createTime : 2020-12-10 00:00:00
             * aspect : 2
             * name : 腰椎康复
             * rank : 19
             * type_dictText : 患者端
             * id : 6
             * type : 1
             */

            private String aspect_dictText;
            private int deltype;
            private String createTime;
            private int aspect;
            private String name;
            private int rank;
            private String type_dictText;
            private int id;
            private int type;

            public String getAspect_dictText() {
                return aspect_dictText;
            }

            public void setAspect_dictText(String aspect_dictText) {
                this.aspect_dictText = aspect_dictText;
            }

            public int getDeltype() {
                return deltype;
            }

            public void setDeltype(int deltype) {
                this.deltype = deltype;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public int getAspect() {
                return aspect;
            }

            public void setAspect(int aspect) {
                this.aspect = aspect;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getRank() {
                return rank;
            }

            public void setRank(int rank) {
                this.rank = rank;
            }

            public String getType_dictText() {
                return type_dictText;
            }

            public void setType_dictText(String type_dictText) {
                this.type_dictText = type_dictText;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }
    }
}
